package com.ruoyi.healthCard.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 体检结果对象 t_biz_exam_result
 * 
 * @author ruoyi
 * @date 2025-06-24
 */
public class TBizExamResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 结果 ID */
    private Long resultId;

    /** 项目 ID */
    @Excel(name = "项目 ID")
    private Long itemId;

    /** 体检人员 ID */
    @Excel(name = "体检人员 ID")
    private Long personId;

    /** 检测结果值 */
    @Excel(name = "检测结果值")
    private String resultValue;

    /** 正常标记 */
    @Excel(name = "正常标记")
    private Integer normalFlag;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inputTime;

    public void setResultId(Long resultId) 
    {
        this.resultId = resultId;
    }

    public Long getResultId() 
    {
        return resultId;
    }

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }

    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }

    public void setResultValue(String resultValue) 
    {
        this.resultValue = resultValue;
    }

    public String getResultValue() 
    {
        return resultValue;
    }

    public void setNormalFlag(Integer normalFlag) 
    {
        this.normalFlag = normalFlag;
    }

    public Integer getNormalFlag() 
    {
        return normalFlag;
    }

    public void setInputTime(Date inputTime) 
    {
        this.inputTime = inputTime;
    }

    public Date getInputTime() 
    {
        return inputTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("resultId", getResultId())
            .append("itemId", getItemId())
            .append("personId", getPersonId())
            .append("resultValue", getResultValue())
            .append("normalFlag", getNormalFlag())
            .append("inputTime", getInputTime())
            .append("remark", getRemark())
            .toString();
    }
}
